<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Index</title>
<style type="text/css">
	body {
		background: rgb(199,237,204); /*rgb(199,237,204); #ded; #ddd; #ccc; */
		margin-left: 50px;
		margin-right: 50px;
		padding-bottom: 50px;
	}
	.subA {
		border-left: 3px solid #c77;
		padding-left: 5px;
		margin-left: 10px;
		font-size: 15px;
		font-family: 楷体;
	}
	.del {
		text-decoration: line-through;
	}
</style>
</head>
<body>
	<h1>webdriver docs</h1>
	<ul>
		<li><a href="http://docs.seleniumhq.org/projects/webdriver/">官网首页</a></li>
		<li><a href="http://www.webdriver.org/nav1/">webdriver 中文社区</a></li>
	</ul>
	<h3>Selenium WebDriver</h3>
	<hr>
	<p>The biggest change in Selenium recently has been the inclusion of the WebDriver API. Driving a browser natively as a user would either locally or on a remote machine using the Selenium Server it marks a leap forward in terms of browser automation.</p>
	<p>Selenium最近的最大变化是包含了WebDriver API。 以本地方式作为用户驱动浏览器将在本地或在使用Selenium服务器的远程计算机上进行，这标志着浏览器自动化的飞跃。</p>
	
	<p>Selenium WebDriver fits in the same role as RC did, and has incorporated the original 1.x bindings. It refers to both the language bindings and the implementations of the individual browser controlling code. This is commonly referred to as just "WebDriver" or sometimes as Selenium 2.</p>
	<p>Selenium WebDriver与RC的功能相同，并且包含原始的1.x绑定。 它涉及语言绑定和单个浏览器控制代码的实现。 这通常被称为“WebDriver”，有时也被称为Selenium 2。</p>
	
	<p>Selenium 1.0 + WebDriver = Selenium 2.0</p>
	<ul>
		<li>WebDriver is designed in a simpler and more concise
			programming interface along with addressing some limitations in the
			Selenium-RC API.<span class="subA">WebDriver被设计在一个更简单和更简洁的编程接口中，同时解决了Selenium-RC API中的一些限制。</span></li>
		<li>WebDriver is a compact Object Oriented API when compared to
			Selenium1.0<span class="subA">与Selenium1.0相比，WebDriver是一个紧凑的面向对象的API</span></li>
		<li>It drives the browser much more effectively and overcomes the
			limitations of Selenium 1.x which affected our functional test
			coverage, like the file upload or download, pop-ups and dialogs
			barrier<span class="subA">它更有效地驱动浏览器，并克服了Selenium 1.x的限制，这影响了我们的功能测试覆盖范围，如文件上传或下载，弹出框和对话框</span></li>
		<li>WebDriver overcomes the limitation of Selenium RC's Single
			Host origin policy<span class="subA">WebDriver克服了Selenium RC的单一主机起源策略的限制</span></li>
	</ul>
	<p>WebDriver is the name of the key interface against which tests should be written in Java, the implementing classes one should use are listed as below:</p>
	<p>WebDriver是测试用Java编写的关键接口的名称，应该使用的实现类如下所示</p>
	
	<p><a href="https://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/chrome/ChromeDriver.html">ChromeDriver</a>, 
	<a href="https://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/support/events/EventFiringWebDriver.html">EventFiringWebDriver</a>, 
	<a href="https://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/firefox/FirefoxDriver.html">FirefoxDriver</a>, 
	<a href="http://seleniumhq.github.io/htmlunit-driver/org/openqa/selenium/htmlunit/HtmlUnitDriver.html">HtmlUnitDriver</a>, 
	<a href="https://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/ie/InternetExplorerDriver.html">InternetExplorerDriver</a>, 
	<a href="https://github.com/detro/ghostdriver/blob/master/binding/java/src/main/java/org/openqa/selenium/phantomjs/PhantomJSDriver.java">PhantomJSDriver</a>, 
	<a href="https://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/remote/RemoteWebDriver.html">RemoteWebDriver</a>, 
	<a href="https://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/safari/SafariDriver.html">SafariDriver</a></p>
	<p>For More information on Selenium WebDriver, please see 
	<a href="http://seleniumhq.org/docs/03_webdriver.html">the documentation</a> 
	and <a href="http://seleniumhq.org/docs/appendix_migrating_from_rc_to_webdriver.html">Remote Control to WebDriver Migration Notes</a>.</p>
	
</body>
</html>